from scipy.special import j0
n = 15
range1 = range(n )
range2 = range(n ** 2)

def em_calculation(some_array1, some_array2):
  for p in some_array1:
    tmpRange = map(lambda l: p + l, some_array2)
    outArray = j0(tmpRange)
  print "Finished"
em_calculation(range1, range2)


